<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>service-add-speaker</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">service-add-speaker</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/inTouch/loginDisplay.do</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>userName</td>
	<td>chris</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>password</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>login</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Services</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Add Service']</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>messageTitle</td>
	<td>Test Add Speaker</td>
</tr>
<tr>
	<td>type</td>
	<td>description</td>
	<td>Test Add Speaker</td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='Add Speaker']</td>
	<td></td>
</tr>
<tr>
	<td>waitForPopUp</td>
	<td></td>
	<td>30000</td>
</tr>
<tr>
	<td>select</td>
	<td>existingPersonId</td>
	<td>label=Narelle Brogan</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//input[@value='Save']</td>
	<td></td>
</tr>
<tr>
	<td>assertSelectedId</td>
	<td>speakerId</td>
	<td>Narelle Brogan</td>
</tr>
<tr>
	<td>selectWindow</td>
	<td>null</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='Add Speaker']</td>
	<td></td>
</tr>
<tr>
	<td>waitForPopUp</td>
	<td></td>
	<td>30000</td>
</tr>
<tr>
	<td>select</td>
	<td>titleCode</td>
	<td>label=Mr</td>
</tr>
<tr>
	<td>type</td>
	<td>firstName</td>
	<td>Paul</td>
</tr>
<tr>
	<td>type</td>
	<td>surname</td>
	<td>Jones</td>
</tr>
<tr>
	<td>selectWindow</td>
	<td>null</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//input[@value='Add Speaker']</td>
	<td></td>
</tr>
<tr>
	<td>selectWindow</td>
	<td>null</td>
	<td></td>
</tr>
<tr>
	<td>assertSelectedId</td>
	<td>speakerId</td>
	<td>Paul Jones</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Logout</td>
	<td></td>
</tr>

</tbody></table>
</body>
</html>
